<!-- sidebar -->
<div class="sidebar">
	<div class="sidebar_top">
		<div class="sidebar_topl"></div>
		<div class="sidebar_topr"></div>
	</div>
	<div class="sidebar_inner_wrap">
			<div class="side_inner">
				<div class="social-link">
					<ul>
						<?php if(get_option('Fungus_twitter_link')) {?>
						<li id="sos-twit">
							<a href="<?php echo get_option('Fungus_twitter_link');?>">
							Twitter
							<span>Follow me on Twitter!</span>
							</a>
						</li>
						<?php }?>
						<li id="sos-rss">
							<a href="<?php if(get_option('Fungus_rss_link')) echo get_option('Fungus_rss_link'); else bloginfo('rss2_url')?>">
							Rss
							<span>Subscribe to my Rss feeds!</span>
							</a>
						</li>
						<?php if(get_option('Fungus_mail_link')){ ?>
						<li id="sos-mail">
							<a href="<?php echo get_option('Fungus_mail_link');?>">
							Email updates
							<span>Feed via e-mail</span>
							</a>
						</li>
						<?php } ?>
					</ul>
				</div>
				
				<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar("Right Sidebar")) : ?>
					<div class="sidebar-widget">
							<h2 class="sidehead">Archives</h2>
							<ul>
								<?php wp_get_archives('type=monthly'); ?>
							</ul>
							<div class="clear"></div>
					</div>
					<div class="sidebar-widget">
						<h2 class="sidehead">Meta</h2>
						<ul>
							<?php wp_register(); ?>
							<li><?php wp_loginout(); ?></li>
							<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
							<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
							<?php wp_meta(); ?>
						</ul>
					</div>
				<?php endif; ?>
			</div>	
	</div>
</div>
<!-- [END] Sidebar -->	